<template>
   <van-search v-model="Search" @click="goSearch"  shape="round" background="#4fc08d" placeholder="请输入搜索关键词" />
</template>
<script setup>
import { useRouter } from 'vue-router'
import { ref } from 'vue';
// 自定义搜索数据
let Search = ref('')
const router = new useRouter();
const goSearch = ()=>{
    router.push('/search')
}
</script>

<style lang="scss" scoped>

</style>